﻿#ifndef _ILAYERSELECTION_H_
#define _ILAYERSELECTION_H_

#include "udatabase/dll_cfg.h"
#include "udatabase/interface/ifeatureselection.h"
#include "drawing/interface/isymbol.h"

namespace FD
{
	namespace Utility
	{
		namespace DB
		{
			namespace Interface
			{
				class FD_DB_Export ILayerSelection : public FD::Kernel::CReferenced
				{
				public:
					virtual ~ILayerSelection();

				public:
					/// <summary>
					/// 获取选择集
					/// </summary>
					/// <param name=""></param>
					/// <returns>要素集合</returns>
					virtual FD::Utility::DB::Interface::IFeatureSelection * getSelection() const;

					/// <summary>
					/// 获取选择集的绘制风格
					/// </summary>
					/// <param name=""></param>
					/// <returns>风格</returns>
					virtual FD::Kernel::Drawing::Interface::ISymbol * getSelectionSymbol() const;

					/// <summary>
					/// 设置选择集的绘制风格
					/// </summary>
					/// <param name="symbol">风格</param>
					/// <returns></returns>
					virtual void setSelectionSymbol( /*_in*/ const FD::Kernel::Drawing::Interface::ISymbol *symbol );

				protected:
					ILayerSelection();
					C_DISABLE_COPY( ILayerSelection )
				};
			}
		}
	}
}
#endif


